'use strict';
module.exports = (app) => {
  const { STRING, INTEGER, TEXT } = app.Sequelize;
  const AboutUs = app.model.define('w_aboutUs', {
    id: {
      type: INTEGER,
      primaryKey: true,
      autoIncrement: true,
    },
    culture: {
      comment: '公司文化',
      type: TEXT('long'),
    },
    purpose: {
      comment: '公司宗旨',
      type: TEXT('long'),
    },
    address: {
      comment: '公司地址',
      type: TEXT('long'),
    },
    contact: {
      comment: '联系方式',
      type: TEXT('long'),
    },
    development: {
      comment: '发展历程',
      type: TEXT('long'),
    },
    projectId: {
      comment: '项目id',
      type: INTEGER,
      allowNull: false,
    },
  });
  return AboutUs;
};
